// Provide a default path to dwr.engine
if (typeof this['dwr'] == 'undefined') this.dwr = {};
if (typeof dwr['engine'] == 'undefined') dwr.engine = {};
if (typeof dwr.engine['_mappedClasses'] == 'undefined') dwr.engine._mappedClasses = {};

if (typeof this.DWRLoginResult != 'function') {
  this.DWRLoginResult = function() {
    this.userName = null;
    this.userID = null;
    this.userCode = null;
    this.deptName = null;
    this.msg = null;
    this.flag = 0;
    this.loginMsg = null;
    this.unitID = null;
    this.loginCode = null;
    this.deptID = null;
    this.unitName = null;
  }
  this.DWRLoginResult.$dwrClassName = 'DWRLoginResult';
  this.DWRLoginResult.$dwrClassMembers = {};
  this.DWRLoginResult.$dwrClassMembers.userName = {};
  this.DWRLoginResult.$dwrClassMembers.userID = {};
  this.DWRLoginResult.$dwrClassMembers.userCode = {};
  this.DWRLoginResult.$dwrClassMembers.deptName = {};
  this.DWRLoginResult.$dwrClassMembers.msg = {};
  this.DWRLoginResult.$dwrClassMembers.flag = {};
  this.DWRLoginResult.$dwrClassMembers.loginMsg = {};
  this.DWRLoginResult.$dwrClassMembers.unitID = {};
  this.DWRLoginResult.$dwrClassMembers.loginCode = {};
  this.DWRLoginResult.$dwrClassMembers.deptID = {};
  this.DWRLoginResult.$dwrClassMembers.unitName = {};
  this.DWRLoginResult.createFromMap = function(map) {
    var obj = new this();
    for(prop in map) if (map.hasOwnProperty(prop)) obj[prop] = map[prop];
    return obj;
  }
  dwr.engine._mappedClasses['DWRLoginResult'] = this.DWRLoginResult;
}

if (typeof this.DWRBaseResult != 'function') {
  this.DWRBaseResult = function() {
    this.msg = null;
    this.flag = 0;
  }
  this.DWRBaseResult.$dwrClassName = 'DWRBaseResult';
  this.DWRBaseResult.$dwrClassMembers = {};
  this.DWRBaseResult.$dwrClassMembers.msg = {};
  this.DWRBaseResult.$dwrClassMembers.flag = {};
  this.DWRBaseResult.createFromMap = function(map) {
    var obj = new this();
    for(prop in map) if (map.hasOwnProperty(prop)) obj[prop] = map[prop];
    return obj;
  }
  dwr.engine._mappedClasses['DWRBaseResult'] = this.DWRBaseResult;
}

DWRLoginResult.prototype = new DWRBaseResult();
DWRLoginResult.prototype.constructor = DWRLoginResult;

if (window['dojo']) dojo.provide('dwr.interface.AuthServices');

if (typeof this['AuthServices'] == 'undefined') AuthServices = {};

AuthServices._path = 'dwr';

/**
 * @param {class java.lang.String} p0 a param
 * @param {class java.lang.String} p1 a param
 * @param {function|Object} callback callback function or options object
 */
AuthServices.validateLogin = function(p0, p1, callback) {
  return dwr.engine._execute(AuthServices._path, 'AuthServices', 'validateLogin', arguments);
};


